-
Notifications
You must be signed in to change notification settings - Fork 690
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add RDMA support for Intel IPU E2000 (GEN 3) #1486
Open
tatyana-en
wants to merge
10
commits into
linux-rdma:master
Choose a base branch
from
tatyana-en:rfc-irdma-gen3
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Enable 64-byte CQE support if the feature flag IRDMA_FEATURE_64_BYTE_CQE is set. Adjust the CQ size calculations in create_cq() and resize_cq() Signed-off-by: Mustafa Ismail <[email protected]> Signed-off-by: Tatyana Nikolova <[email protected]>
Modify cq_poll_compl() to poll flushed CQEs for GEN 3 Add IBV_WC_RETRY_EXC_ERR and FLUSH_RNR_RETRY_EXC_ERR to the returned ibv_wc_status errors Signed-off-by: Shiraz Saleem <[email protected]> Signed-off-by: Tatyana Nikolova <[email protected]>
Add set_ib_wc_op_rq_gen_3() to set the ibv_wc opcodes for GEN 3 RQ completions Signed-off-by: Mustafa Ismail <[email protected]> Signed-off-by: Tatyana Nikolova <[email protected]>
Set WQE_FORMAT_V2 flag in ucontext allocation request. This prevents driver from binding GEN3 devices to older user-space providers Signed-off-by: Shiraz Saleem <[email protected]> Signed-off-by: Tatyana Nikolova <[email protected]>
Modify irdma_qp_get_next_send_wqe() to make a padding of NOPs as needed for 64 byte aligned Push WQEs. Add IRDMA_SUPPORT_MAX_HW_PUSH_LEN to comp_mask to impose a limit of the Push WQE size, based on the supported message length. Signed-off-by: Jay Bhat <[email protected]> Signed-off-by: Tatyana Nikolova <[email protected]>
Add atomic operations support for GEN 3 devices, namely Compare and Swap and Fetch and Add. Signed-off-by: Faisal Latif <[email protected]> Signed-off-by: Tatyana Nikolova <[email protected]>
Implement verb API and UAPI changes to support SRQ functionality in GEN 3 devices. Provide function ae_to_qp_err_code() to translate AE codes into QP errors. The function can be leveraged for flushed CQEs and error CQEs associated with an SRQ. Signed-off-by: Faisal Latif <[email protected]> Signed-off-by: Tatyana Nikolova <[email protected]>
Remove deprecated timestamp functionality for GEN 2. Enable FEATURE_CQE_TIMESTAMPING for GEN 3 devices. The Host Channel Adapter (HCA) core clock frequency in the timestamp info is retrieved from the CQE. Signed-off-by: Shiraz Saleem <[email protected]> Signed-off-by: Tatyana Nikolova <[email protected]>
Enable Type2 MW for GEN3 devices. Type2 MW is disabled for GEN2/1 devices via the capability flag in query_device. Signed-off-by: Shiraz Saleem <[email protected]> Signed-off-by: Tatyana Nikolova <[email protected]>
Update kernel headers to patch ("[RFC PATCH 24/25] RDMA/irdma: Add Push Page Support for GEN3") at https://www.spinics.net/lists/linux-rdma/msg125016.html Signed-off-by: Tatyana Nikolova <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
[RFC Internal PATCH 0/9] Add RDMA support for Intel IPU E2000 (GEN 3)
This RFC patch series introduces the user space RDMA RoCEv2 support
for the Intel Infrastructure Processing Unit (IPU) E2000 line of
products, referred to as GEN 3 in the irdma provider.
The RFC patch series for the kernel GEN 3 irdma driver is at https://www.spinics.net/lists/linux-rdma/msg124994.html
Key highlights of this series as it pertains to GEN 3 device include:
Faisal Latif (2):
providers/irdma: Add Atomic Operations support
providers/irdma: Add SRQ support
Jay Bhat (1):
providers/irdma: Add Push Mode for GEN 3
Mustafa Ismail (2):
providers/irdma: Enable 64-byte CQE support for GEN 3
providers/irdma: Set ibv_wc opcodes in GEN 3 RQ completions
Shiraz Saleem (4):
providers/irdma: Flush changes for GEN 3
providers/irdma: Set GEN 3 flag in ucontext allocation request
providers/irdma: Add CQE timestamp capability for GEN 3
providers/irdma: Add Type2 MW support
providers/irdma/abi.h | 2 +
providers/irdma/defs.h | 16 +-
providers/irdma/irdma.h | 9 +-
providers/irdma/osdep.h | 1 +
providers/irdma/uk.c | 471 +++++++++++++++++++++++++++++++++++----
providers/irdma/umain.c | 12 +
providers/irdma/umain.h | 26 ++-
providers/irdma/user.h | 274 ++++++++++++++++++++++-
providers/irdma/uverbs.c | 409 ++++++++++++++++++++++++++++-----
9 files changed, 1098 insertions(+), 122 deletions(-)
--
2.37.3
https://lore.kernel.org/r/all/[email protected]/T/#t